﻿using PhysicalExamination5.Model.DataMaintenance;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PhysicalExamination5.Interface.DataMaintenance
{
    public interface IWeiHaiYinSuWeiHu
    {
        /// <summary>
        /// 查询全部组合项目
        /// </summary>
        /// <returns></returns>
        public string GetSelItemAll();
        /// <summary>
        /// 查询危害因素
        /// </summary>
        /// <param name="strZhongLei"></param>
        /// <param name="strName"></param>
        /// <returns></returns>
        public string GetSelWeiHaiYinSu(string strZhongLei, string strName);
        /// <summary>
        /// 查询危害因素项目、检查内容、监护依据、国标内容
        /// </summary>
        /// <param name="strWeiHaiYinSuId"></param>
        /// <param name="strGangQi"></param>
        /// <param name="strWeiHaiYinSuGuoBiaoDaiMa"></param>
        /// <returns></returns>
        public string GetSelWeiHaiYinSuData(string strWeiHaiYinSuId, string strGangQi, string strWeiHaiYinSuGuoBiaoDaiMa);
        /// <summary>
        /// 查询国标对应的本地组合项目
        /// </summary>
        /// <param name="strGuoBiaoZuHeXiangMuDaiMa"></param>
        /// <returns></returns>
        public string GetSelGuoBiaoDuiYinItem(string strGuoBiaoZuHeXiangMuDaiMa);
        /// <summary>
        /// 新增危害因素
        /// </summary>
        /// <param name="WeiHaiYinSu"></param>
        /// <param name="strYuanQuQianZhui"></param>
        /// <returns></returns>
        public string PostWeiHaiYinSuAdd(WeiHaiYinSuClass WeiHaiYinSu, string strYuanQuQianZhui);
        /// <summary>
        /// 修改危害因素
        /// </summary>
        /// <param name="WeiHaiYinSu"></param>
        /// <returns></returns>
        public string PutWeiHaiYinSuUpdate(WeiHaiYinSuClass WeiHaiYinSu);
        /// <summary>
        /// 删除危害因素
        /// </summary>
        /// <param name="deleteWeiHaiYinSu"></param>
        /// <returns></returns>
        public string DeleteWeiHaiYinSuDelete(DeleteWeiHaiYinSuClass deleteWeiHaiYinSu);
        /// <summary>
        /// 调整危害因素顺序
        /// </summary>
        /// <param name="weiHaiYinSuShunXu"></param>
        /// <returns></returns>
        public string PutWeiHaiYinSunTiaoZhengShunXu(WeiHaiYinSuShunXuClass weiHaiYinSuShunXu);
        /// <summary>
        /// 危害因素另存
        /// </summary>
        /// <param name="weiHaiYinSuLingCun"></param>
        /// <param name="strYuanQuQianZhui"></param>
        /// <returns></returns>
        public string PostWeiHaiYinSuLingCun(WeiHaiYinSuLingCunClass weiHaiYinSuLingCun, string strYuanQuQianZhui);
        /// <summary>
        /// 危害因素组合项目添加
        /// </summary>
        /// <param name="weiHaiYinSuItemAdd"></param>
        /// <returns></returns>
        public string PostWeiHaiYinSuItemAdd(WeiHaiYinSuItemAddClass weiHaiYinSuItemAdd);
        /// <summary>
        /// 危害因素组合项目修改
        /// </summary>
        /// <param name="weiHaiYinSuItemData"></param>
        /// <returns></returns>
        public string PutWeiHaiYinSuItemUpdate(WeiHaiYinSuItemDataClass weiHaiYinSuItemData);
        /// <summary>
        /// 危害因素组合项目删除
        /// </summary>
        /// <param name="weiHaiYinSuItemData"></param>
        /// <returns></returns>
        public string DeleteWeiHaiYinSuItemDelete(WeiHaiYinSuItemDataClass weiHaiYinSuItemData);
        /// <summary>
        /// 危害因素组合项目调整顺序
        /// </summary>
        /// <param name="weiHaiYinSuItemShunXu"></param>
        /// <returns></returns>
        public string PutWeiHaiYinSuItemTiaoZhengShunXu(WeiHaiYinSuItemShunXuClass weiHaiYinSuItemShunXu);
        /// <summary>
        /// 危害因素监护依据新增
        /// </summary>
        /// <param name="weiHaiYinSuJianHuYiJuAdd"></param>
        /// <param name="strYuanQuQianZhui"></param>
        /// <returns></returns>
        public string PostWeiHaiYinSuJianHuYiJuAdd(WeiHaiYinSuJianHuYiJuAddClass weiHaiYinSuJianHuYiJuAdd, string strYuanQuQianZhui);
        /// <summary>
        /// 危害因素监护依据修改
        /// </summary>
        /// <param name="weiHaiYinSuJianHuYiJuData"></param>
        /// <returns></returns>
        public string PutWeiHaiYinSuJianHuYiJuUpdate(WeiHaiYinSuJianHuYiJuDataClass weiHaiYinSuJianHuYiJuData);
        /// <summary>
        /// 危害因素监护依据删除
        /// </summary>
        /// <param name="weiHaiYinSuJianHuYiJuData"></param>
        /// <returns></returns>
        public string DeleteWeiHaiYinSuJianHuYiJuDelete(WeiHaiYinSuJianHuYiJuDataClass weiHaiYinSuJianHuYiJuData);
        /// <summary>
        /// 危害因素监护依据调整顺序
        /// </summary>
        /// <param name="weiHaiYinSuJianHuYiJuShunXu"></param>
        /// <returns></returns>
        public string PutWeiHaiYinSuJianHuYiJuTiaoZhengShunXu(WeiHaiYinSuJianHuYiJuShunXuClass weiHaiYinSuJianHuYiJuShunXu);
        /// <summary>
        /// 危害因素统一更换组合项目
        /// </summary>
        /// <param name="weiHaiYinSuGengHuanXiangMu"></param>
        /// <returns></returns>
        public string PutWeiHuanYinSuTongYiGengHuanItem(WeiHaiYinSuTongYiGengHuanItemClass weiHaiYinSuTongYiGengHuanItem);
        /// <summary>
        /// 危害因素统一添加组合项目
        /// </summary>
        /// <param name="weiHaiYinSuTongYiItem"></param>
        /// <returns></returns>
        public string PostWeiHaiYinSuTongYiAddItem(WeiHaiYinSuTongYiItemClass weiHaiYinSuTongYiItem);
        /// <summary>
        /// 危害因素统一删除组合项目
        /// </summary>
        /// <param name="weiHaiYinSuTongYiItem"></param>
        /// <returns></returns>
        public string DeleteWeiHaiYinSuTongYiDeleteItem(WeiHaiYinSuTongYiItemClass weiHaiYinSuTongYiItem);
        /// <summary>
        /// 国标对应本地组合项目添加
        /// </summary>
        /// <param name="weiHaiYinSuDuiYinBenDiItemAdd"></param>
        /// <returns></returns>
        public string PostGuoBiaoDuiYinBenDiItemAdd(WeiHaiYinSuDuiYinBenDiItemAddClass weiHaiYinSuDuiYinBenDiItemAdd);
        /// <summary>
        /// 国标对应本地组合项目删除
        /// </summary>
        /// <param name="weiHaiYinSuDuiYinBenDiItemDelete"></param>
        /// <returns></returns>
        public string DeleteGuoBiaoDuiYinBenDiItemDelete(WeiHaiYinSuDuiYinBenDiItemDeleteClass weiHaiYinSuDuiYinBenDiItemDelete);
        /// <summary>
        /// 分析危害因素
        /// </summary>
        /// <param name="strWeiHaiYinSuId"></param>
        /// <param name="strGangQi"></param>
        /// <returns></returns>
        public string GetFenXiWeiHaiYinSu(string? strWeiHaiYinSuId, string? strGangQi);
    }
}
